package com.tianqu.tms.dto;

import java.io.Serializable;

/**
 * @author zhangxueliang 相关统计视图
 */
public class CarPrivilegedCarDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	// 会员id
	private String memId;
	// 今日入库
	private String todayInner;
	// 本月入库
	private String monthInner;
	// 昨日入库
	private String yesterdayInner;
	// 本周入库
	private String weekInner;
	// 1季度入库
	private String seasonOneInner;
	// 2季度入库
	private String seasonTwoInner;
	// 3季度入库
	private String seasonThreeInner;
	// 4季度入库
	private String seasonFourInner;
	// 会员名
	private String shopName;
	// 车位数
	private String carPort;
	// 库存总量
	private String usedCarPort;
	//
	private int num;

	private int cssFlag;
	
	// 商户名称
	private String shortName;
	
	// 商户状态	
	private String flag;
	
	// 已入库
	private int inCount;
	
	// 已出库
	private int outCount;
	
	// 过期
	private int expiredCount;
	
	// 存档
	private int archiveCount;
	
	// 挂起
	private int pendingCount;
	
	// 登记
	private int registerCount;
	
	// 总计
	private int totalCount;
	
	private boolean highlight;
	
	private int carScore;
	
	
	public boolean isHighlight() {
		final int total = this.getCarPort() != null ? Integer.valueOf(this.getCarPort()) : 0;
		final int inventory = this.getUsedCarPort() != null ? Integer.valueOf(this.getUsedCarPort()) : 0;
		return inventory > total;
	}

	public void setHighlight(boolean highlight) {
		this.highlight = highlight;
	}

	//
	private int warnFlag;//用于凸显样式的标识

	public String getMemId() {
		return memId;
	}

	public void setMemId(String memId) {
		this.memId = memId;
	}

	public String getTodayInner() {
		return todayInner;
	}

	public void setTodayInner(String todayInner) {
		this.todayInner = todayInner;
	}

	public String getMonthInner() {
		return monthInner;
	}

	public void setMonthInner(String monthInner) {
		this.monthInner = monthInner;
	}

	public String getYesterdayInner() {
		return yesterdayInner;
	}

	public void setYesterdayInner(String yesterdayInner) {
		this.yesterdayInner = yesterdayInner;
	}

	public String getWeekInner() {
		return weekInner;
	}

	public void setWeekInner(String weekInner) {
		this.weekInner = weekInner;
	}

	public String getSeasonOneInner() {
		return seasonOneInner;
	}

	public void setSeasonOneInner(String seasonOneInner) {
		this.seasonOneInner = seasonOneInner;
	}

	public String getSeasonTwoInner() {
		return seasonTwoInner;
	}

	public void setSeasonTwoInner(String seasonTwoInner) {
		this.seasonTwoInner = seasonTwoInner;
	}

	public String getSeasonThreeInner() {
		return seasonThreeInner;
	}

	public void setSeasonThreeInner(String seasonThreeInner) {
		this.seasonThreeInner = seasonThreeInner;
	}

	public String getSeasonFourInner() {
		return seasonFourInner;
	}

	public void setSeasonFourInner(String seasonFourInner) {
		this.seasonFourInner = seasonFourInner;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getCarPort() {
		return carPort;
	}

	public void setCarPort(String carPort) {
		this.carPort = carPort;
	}

	public String getUsedCarPort() {
		return usedCarPort;
	}

	public void setUsedCarPort(String usedCarPort) {
		this.usedCarPort = usedCarPort;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public int getCssFlag() {
		return cssFlag;
	}

	public void setCssFlag(int cssFlag) {
		this.cssFlag = cssFlag;
	}

	public int getWarnFlag() {
		return warnFlag;
	}

	public void setWarnFlag(int warnFlag) {
		this.warnFlag = warnFlag;
	}

	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public int getInCount() {
		return inCount;
	}

	public void setInCount(int inCount) {
		this.inCount = inCount;
	}

	public int getOutCount() {
		return outCount;
	}

	public void setOutCount(int outCount) {
		this.outCount = outCount;
	}

	public int getExpiredCount() {
		return expiredCount;
	}

	public void setExpiredCount(int expiredCount) {
		this.expiredCount = expiredCount;
	}

	public int getArchiveCount() {
		return archiveCount;
	}

	public void setArchiveCount(int archiveCount) {
		this.archiveCount = archiveCount;
	}

	public int getPendingCount() {
		return pendingCount;
	}

	public void setPendingCount(int pendingCount) {
		this.pendingCount = pendingCount;
	}

	public int getRegisterCount() {
		return registerCount;
	}

	public void setRegisterCount(int registerCount) {
		this.registerCount = registerCount;
	}

	public int getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}

	public int getCarScore() {
		return carScore;
	}

	public void setCarScore(int carScore) {
		this.carScore = carScore;
	}

}
